package com.pks.datacenter.config;

import com.google.gson.Gson;
import com.pks.web.dto.PageServiceResult;
import com.pks.web.dto.ServiceResult;

public class UiConfig {

	public static final String TEMPLATE_LOADER_PATH = "classpath:/templates/";

	public static String converByServiceResult(ServiceResult sr) {
		return PageServiceResult.converByServiceResult(sr);
	}

	public static String converByServiceResult(ServiceResult sr, Gson gson) {
		return PageServiceResult.converByServiceResult(sr);
	}

}
